package com.nondo.dean.saprfc.domain;

import java.util.ArrayList;

/**
 * @author xiaofan
 * @Description: BOM结构
 * @throws
 * @date 2018-03-3014:15
 */
public class ProductBomStructure {
    /**
     * 物料编号
     */
    private String productCode;
    /**
     * 物料名称
     */
    private String productName;
    /**
     * 上级物料编号
     */
    private String parentProductCode;
    /**
     * 组件数量 (BTCI)
     */
    private String bomUnit;
    /**
     * 组件计量单位
     */
    private String componentUnit;
    /**
     * 头删除标记
     */
    private String headDelete;
    /**
     * 子删除标记
     */
    private String itemDelete;
    /**
     *
     */
    private String num;
    /**
     * 子结构
     */
    private ArrayList<ProductBomStructure> child_List=null;

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getParentProductCode() {
        return parentProductCode;
    }

    public void setParentProductCode(String parentProductCode) {
        this.parentProductCode = parentProductCode;
    }

    public String getBomUnit() {
        return bomUnit;
    }

    public void setBomUnit(String bomUnit) {
        this.bomUnit = bomUnit;
    }

    public String getComponentUnit() {
        return componentUnit;
    }

    public void setComponentUnit(String componentUnit) {
        this.componentUnit = componentUnit;
    }

    public String getHeadDelete() {
        return headDelete;
    }

    public void setHeadDelete(String headDelete) {
        this.headDelete = headDelete;
    }

    public String getItemDelete() {
        return itemDelete;
    }

    public void setItemDelete(String itemDelete) {
        this.itemDelete = itemDelete;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public ArrayList<ProductBomStructure> getChild_List() {
        return child_List;
    }

    public void setChild_List(ArrayList<ProductBomStructure> child_List) {
        this.child_List = child_List;
    }

    public ProductBomStructure() {
    }

    public ProductBomStructure(String productCode, String productName, String parentProductCode, String bomUnit, String componentUnit, String headDelete, String itemDelete, String num) {
        this.productCode = productCode;
        this.productName = productName;
        this.parentProductCode = parentProductCode;
        this.bomUnit = bomUnit;
        this.componentUnit = componentUnit;
        this.headDelete = headDelete;
        this.itemDelete = itemDelete;
        this.num = num;
        this.child_List=new ArrayList<>();
    }

    @Override
    public String toString() {
        return "ProductBomStructure{" +
                "productCode='" + productCode + '\'' +
                ", productName='" + productName + '\'' +
                ", parentProductCode='" + parentProductCode + '\'' +
                ", bomUnit='" + bomUnit + '\'' +
                ", componentUnit='" + componentUnit + '\'' +
                ", headDelete='" + headDelete + '\'' +
                ", itemDelete='" + itemDelete + '\'' +
                ", num='" + num + '\'' +
                ", child_List=" + child_List +
                '}';
    }
}
